import threading

def print_str(s):
	for x in s:
		print(x)
		
s = input("input a string with one space in it:")
s1, s2 = s.split(" ")

thread_1 = threading.Thread(target = print_str, args = (s1,))
thread_2 = threading.Thread(target = print_str, args = (s2,))
thread_1.start()
thread_2.start()

thread_1.join()
thread_2.join()

print("its funny!")